package com.jhx.video.discuss

import android.os.Bundle
import com.jhx.common.framework.QuickBaseActivity
import com.jhx.video.R

/**
 *
 *
 * @author Jack 2018-03-27 18:19
 */
class DiscussActivity : QuickBaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_home)
        val bundle = Bundle()
        bundle.putSerializable(DiscussFragment.KEY_VIDEO_ID, intent.getSerializableExtra(DiscussFragment.KEY_VIDEO_ID))
        push(DiscussFragment::class.java, bundle)
    }

    override fun containerId(): Int {
        return R.id.view_container
    }

    override fun showToolbar(): Boolean {
        return false
    }
}